package org.iabako.client.ui.constant;

import org.iabako.shared.entity.enumeration.*;

import java.awt.print.PrinterException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by jose on 01/03/14.
 */
public class UIConstantProvider {

    public static Map<String, List<LabelEnum>> enums = new HashMap<String, List<LabelEnum>>();

    public static void init() {
        enums.put(Contract.class.getSimpleName(), Arrays.asList((LabelEnum[]) Contract.values()));
        enums.put(Country.class.getSimpleName(), Arrays.asList((LabelEnum[]) Country.values()));
        enums.put(Gender.class.getSimpleName(), Arrays.asList((LabelEnum[]) Gender.values()));
        enums.put(Company.class.getSimpleName(), Arrays.asList((LabelEnum[]) Company.values()));
        enums.put(InstallmentsFrequency.class.getSimpleName(), Arrays.asList((LabelEnum[]) InstallmentsFrequency.values()));
        enums.put(InstallmentsType.class.getSimpleName(), Arrays.asList((LabelEnum[]) InstallmentsType.values()));
        enums.put(Invoice.class.getSimpleName(), Arrays.asList((LabelEnum[]) Invoice.values()));
        enums.put(Month.class.getSimpleName(), Arrays.asList((LabelEnum[]) Month.values()));
        enums.put(InstallmentsPeriodicalFrequency.class.getSimpleName(), Arrays.asList((LabelEnum[]) InstallmentsPeriodicalFrequency.values()));
        enums.put(InstallmentsPeriodicalStart.class.getSimpleName(), Arrays.asList((LabelEnum[]) InstallmentsPeriodicalStart.values()));
        enums.put(PaymentType.class.getSimpleName(), Arrays.asList((LabelEnum[]) PaymentType.values()));
        enums.put(CustomFieldType.class.getSimpleName(), Arrays.asList((LabelEnum[]) CustomFieldType.values()));
        enums.put(ExpenseCategory.class.getSimpleName(), Arrays.asList((LabelEnum[]) ExpenseCategory.values()));
        enums.put(ExpenseType.class.getSimpleName(), Arrays.asList((LabelEnum[]) ExpenseType.values()));
        enums.put(ExpenseRecurrentType.class.getSimpleName(), Arrays.asList((LabelEnum[]) ExpenseRecurrentType.values()));
        enums.put(ExpenseRecurrentPeriod.class.getSimpleName(), Arrays.asList((LabelEnum[]) ExpenseRecurrentPeriod.values()));
        enums.put(PaymentMethod.class.getSimpleName(), Arrays.asList((LabelEnum[]) PaymentMethod.values()));
        enums.put(YesNo.class.getSimpleName(), Arrays.asList((LabelEnum[]) YesNo.values()));
        enums.put(BugSeverity.class.getSimpleName(), Arrays.asList((LabelEnum[]) BugSeverity.values()));
        enums.put(IabakoPackage.class.getSimpleName(), Arrays.asList((LabelEnum[]) IabakoPackage.values()));
        enums.put(ProductType.class.getSimpleName(), Arrays.asList((LabelEnum[]) ProductType.values()));
        enums.put(InvoiceRecipientType.class.getSimpleName(), Arrays.asList((LabelEnum[]) InvoiceRecipientType.values()));
        enums.put(ConversationType.class.getSimpleName(), Arrays.asList((LabelEnum[]) ConversationType.values()));
        enums.put(ConversationStatus.class.getSimpleName(), Arrays.asList((LabelEnum[]) ConversationStatus.values()));
        enums.put(TaxIncluded.class.getSimpleName(), Arrays.asList((LabelEnum[]) TaxIncluded.values()));
        enums.put(PriceUnit.class.getSimpleName(), Arrays.asList((LabelEnum[]) PriceUnit.values()));
    }
}
